package com.wukang.photovoltaicinspectionpictures.ui.setting

import androidx.lifecycle.ViewModelProvider
import com.wukang.photovoltaicinspectionpictures.base.BaseActivity
import com.wukang.photovoltaicinspectionpictures.base.BaseViewModel
import com.wukang.photovoltaicinspectionpictures.databinding.ActivitySettingBinding
import com.wukang.photovoltaicinspectionpictures.utils.onDebounceClick

/**
 * 设置界面
 * @author wukang
 */
class SettingActivity : BaseActivity<ActivitySettingBinding, BaseViewModel>() {
    override fun initViewBinding(): ActivitySettingBinding = ActivitySettingBinding.inflate(layoutInflater)

    override fun initViewModel(): BaseViewModel = ViewModelProvider(this)[BaseViewModel::class.java]

    override fun initActivity() {
    }

    override fun ActivitySettingBinding.initView() {
        ivBack.onDebounceClick { finish() }
        btCancel.onDebounceClick { finish() }
        btConfirm.onDebounceClick {

        }
    }
}